AmpProject\AmpWP\ReaderThemeSupportFeatures S

Total Complexity 49
Dependencies 4
Dependents 1
Total lines 359
Lines of code 178
Logical lines of code 93
Comment lines 136
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
print_theme_support_styles()
A
49 11 31
get_theme_support_features()
S
55 7 20
print_editor_color_palette_styles()
S
52 6 26
has_required_feature_props()
S
62 5 11
print_editor_font_sizes_styles()
S
60 3 14
print_editor_gradient_presets_styles()
S
60 3 14
register()
S
56 2 19
is_reader_request()
S
70 3 7
get_relative_luminance_from_hex()
S
61 2 11
filter_amp_options_updating()
S
67 2 8
handle_theme_update()
S
69 2 7
update_cached_theme_support()
S
69 2 7
__construct()
S
81 1 3